<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        Object.is()//判断两个值是否相等
        //对象合并
        let a = {
            x: 'a',
            b: "a"
        }
        let b = {
            a: 'b',
            b: 'b'
        }
        let c = Object.assign(a, b)
        console.log(c);
    </script>
</body>

</html>